/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.startup.musicstore.app.factory;

import com.startup.musicstore.model.Album;
import com.startup.musicstore.model.SampleClip;

/**
 *
 * @author Administrator
 */
public class TrackFactory {
     
    public static TrackFactory getTrack(int trackNumber, String trackTitle, SampleClip sampleClip, Album album) {
        TrackFactory track = new TrackFactory();
        track.setTrackNumber(trackNumber);
        track.setTrackTitle(trackTitle);
        track.setSampleClip(sampleClip);
        track.setAlbum(album);
        return track;
    }
}
